package cn.ycms.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Grou entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "grou")
public class Grou implements java.io.Serializable {

	// Fields

	private String groupId;
	private String groupName;
	private Timestamp createdate;
	private Integer mark;
	private Integer sort;
	private String beizhu;

	// Constructors

	/** default constructor */
	public Grou() {
	}

	/** minimal constructor */
	public Grou(String groupId) {
		this.groupId = groupId;
	}

	/** full constructor */
	public Grou(String groupId, String groupName, Timestamp createdate,
			Integer mark, Integer sort, String beizhu) {
		this.groupId = groupId;
		this.groupName = groupName;
		this.createdate = createdate;
		this.mark = mark;
		this.sort = sort;
		this.beizhu = beizhu;
	}

	// Property accessors
	@Id
	@Column(name = "GROUP_ID", unique = true, nullable = false, length = 20)
	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	@Column(name = "GROUP_NAME", length = 20)
	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name = "CREATEDATE", length = 0)
	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	@Column(name = "MARK")
	public Integer getMark() {
		return this.mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	@Column(name = "SORT")
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Column(name = "BEIZHU", length = 200)
	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

}